string support
Strings are important in most programs, so many efficient string intrinsics are built in,
including:
ASC()
Intrinsic ASCII value of 1st character of string
CHR$() Intrinsic
Convert number to 1 char ASCII string
CJUST$() Intrinsic Center
justify string in field of spaces
CSIZE()
Intrinsic Number of bytes before null character
CSIZE$() Intrinsic Clip string
off at 1st null character
CSTRING$() Intrinsic Convert C string into
native string
FORMAT$() Intrinsic Create formatted
string from format spec and value
HEX$() Intrinsic
HexaDECimal string representation of number
HEXX$() Intrinsic HEX$
with "0x" prefix
INCHR() Intrinsic Find first search-set character in string
INCHRI() Intrinsic Same as INCHR() except case insensitive
INFILE$() Intrinsic Input line of
text from disk file
INLINE$() Intrinsic Input line of
text from keyboard
INSTR() Intrinsic Find first substring in string
INSTRI() Intrinsic Same as INSTR() except case insensitive
LCASE$() Intrinsic Lower case
of string
LCLIP$() Intrinsic Clip n bytes
from left end of string
LEFT$() Intrinsic
Leftmost n characters of string
LEN()
Intrinsic # of elements in string
LJUST$() Intrinsic Left justify
string in field of spaces
LTRIM$() Intrinsic Trim spaces
and tabs from left of string
MID$() Intrinsic
Extract arbitrary part of string
NULL$() Intrinsic Create
string of n null characters
RCLIP$() Intrinsic Clip n bytes
from right end of string
RIGHT$() Intrinsic Extract
rightmost n characters of string
RINCHR() Intrinsic Same as INCHR except reverse search direction
RINCHRI() Intrinsic Same as RINCHR() except case insensitive
RINSTR() Intrinsic Same as INSTR() except reverse search direction
RINSTRI() Intrinsic Same as RINSTR() except case insensitive
RJUST$() Intrinsic Right
justify string in field of spaces
RTRIM$() Intrinsic Trim spaces
and tabs from right end of string
SPACE$() Intrinsic String of n
space characters
STRING() Intrinsic Convert to
type STRING... STRING$() is identical
STUFF$() Intrinsic Stuff one
string into another
SWAP
Statement Swap the values of numeric or string variables
TRIM$() Intrinsic Remove spaces and tabs from left &
right of string
UCASE$() Intrinsic Upper case
of a string